net/http.http2Server.afterFunc (method)
8 uses
net/http (current package)
h2_bundle.go#L4015: func (s *http2Server) afterFunc(d time.Duration, f func()) http2timer {
h2_bundle.go#L4800: sc.idleTimer = sc.srv.afterFunc(sc.srv.IdleTimeout, sc.onIdleTimer)
h2_bundle.go#L4806: settingsTimer := sc.srv.afterFunc(http2firstSettingsTimeout, sc.onSettingsTimer)
h2_bundle.go#L5305: sc.shutdownTimer = sc.srv.afterFunc(d, sc.onShutdownTimer)
h2_bundle.go#L5902: st.readDeadline = sc.srv.afterFunc(sc.hs.ReadTimeout, st.onReadTimeout)
h2_bundle.go#L6000: st.writeDeadline = sc.srv.afterFunc(sc.hs.WriteTimeout, st.onWriteTimeout)
h2_bundle.go#L6659: st.readDeadline = sc.srv.afterFunc(deadline.Sub(sc.srv.now()), st.onReadTimeout)
h2_bundle.go#L6685: st.writeDeadline = sc.srv.afterFunc(deadline.Sub(sc.srv.now()), st.onWriteTimeout)
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |